package vip.xiaonuo.smzq.modular.hisi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.web.multipart.MultipartFile;
import vip.xiaonuo.smzq.modular.hisi.entity.Kshz;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.smzq.modular.hisi.entity.vo.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 矿山信息汇总 服务类
 *
 * @author sqq
 * @since 2024-07-04
 */
public interface IKshzService extends IService<Kshz> {

    Page<Kshz> page(Kshz kshz);

    Page<KsxxhzVo> queryKshzPage(CxtjMhtj cxtjMhtj, MultipartFile file);

    KsxxcxhjVo queryKshzCount(CxtjMhtj cxtjMhtj,MultipartFile file);

    Page<KsxxhzVo> queryKcdxxhzPage(CxtjMhtj cxtjMhtj);

    KsxxcxhjVo queryKcdxxCount(CxtjMhtj cxtjMhtj);

    Chart<Double> lineChartXian(Integer kcdm);

    List<Map> barChartXianKcd(Integer nd);

    CommonChart lineChartXianKcd(Integer nd);

    List<Map> barChartXianKccd(Integer nd);

    List<Map> barChartXianGm(Integer nd);

    void getCxtjsljs();

    Page<KsxxhzVo> includeHisKshzPage(CxtjMhtj cxtjMhtj);


    /**
     * 下载查询条件模版
     *
     * @param response
     * @author sqq
     * @since 2025/3/31 9:54
     */
    void downloadQueryTemplate(HttpServletResponse response);
}
